package com.zhentao.model.pojo.user.gift;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName charge_user_historygift
 */
@TableName(value ="charge_user_historygift")
@Data
public class ChargeUserHistorygift implements Serializable {
    /**
     * 中奖记录id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 奖品id
     */
    private Integer giftId;

    /**
     * 用户id
     */
    private Integer userId;


    /**
     * 是否兑换 0：未兑换  1：已兑换
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}